package com.lvmama.pangolin.mybatis.mapper.tc;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lvmama.pangolin.entity.lmm.LMMTicketCommodity;
import com.lvmama.pangolin.entity.spider.TicketProduct;
import com.lvmama.pangolin.entity.tc.Ticket_Commodity;





public interface TCTicketCommodityMapper {
	/**  
	* @Title：TicketCommodityMapper.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月15日下午5:47:02  
	*/
	public List<Ticket_Commodity> getTCTicket_CommodityListByTaskID(Map<String,Object> map);
	/**
	 * 
	 * @param productId
	 * @return
	 */
	public List<LMMTicketCommodity> selectByProdId(@Param("productId")String productId);
	
	public int insert(TicketProduct record);
	public List<TicketProduct> queryCommodityListByTaskID(Map<String,Object> map);
	public int insertSelective(TicketProduct record);
	int deletePreviousData(int limit);
	int deleteBytaskAndProd(TicketProduct record);
}
